package cn.hy.preparelesson.common.mapper;

import cn.hy.preparelesson.common.entity.PlLessonFile;
import cn.hy.preparelesson.common.entity.PlLessonFileExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface PlLessonFileMapper {
    long countByExample(PlLessonFileExample example);

    int deleteByExample(PlLessonFileExample example);

    int deleteByPrimaryKey(String id);

    int insert(PlLessonFile record);

    int insertSelective(PlLessonFile record);

    List<PlLessonFile> selectByExample(PlLessonFileExample example);

    PlLessonFile selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") PlLessonFile record, @Param("example") PlLessonFileExample example);

    int updateByExample(@Param("record") PlLessonFile record, @Param("example") PlLessonFileExample example);

    int updateByPrimaryKeySelective(PlLessonFile record);

    int updateByPrimaryKey(PlLessonFile record);

    int batchSavePlLessonFile(@Param("list")List<PlLessonFile> list);
}
